.contract-detail {
  padding-bottom: 20px;
  &.background-transparent{
    padding: 0;
  }
  .document-basic-info {
    background: white;
    margin: -20px -20px;
    padding: 25px 20px 20px 20px;
  }

  .contract-info {
    margin: 30px -20px 0px -20px;
    background: white;
    padding-bottom: 10px;

    .contract-info-header {
      margin-top: 15px;
      margin-bottom: 15px;
      padding: 15px 0 5px 0;

      .info-header-title {
        font-weight: 500;
        font-size: 20px;
        borderBottom: '1px solid #ececec';
        fontSize: 18;
        padding: 20px 20px 10px;
        margin: -20px -20px 20px;
     }
    }

    .info-items {
      margin-top: 10px;
      margin-bottom: 5px;
      font-size: 12px;

      .label-tips {
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: underline;
        white-space: nowrap;
        width: 100px;
        font-weight: 600;
      }

      .item-label {
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100px;
      }

      .item-value {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
        margin-left: -20px;
      }
    }
  }

  .pay-info {
    background: white;
    padding: 15px 20px;
    margin: 10px -20px 0px -20px;

    .pay-info-header {
      margin-top: 15px;

      .header-btn {
        display: inline-block;
      }

      .header-tips {
        display: inline-block;
        float: right;
        margin-top: 15px;
      }
    }
  }

  .bottom-bar-jsq {
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    z-index: 5;
    margin-left: -35px;
    background: #fff;
    box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.067);

    &.bottom-bar-approve {
      height: 80px;
      line-height: 80px;

      .approve-form {
        position: relative;
        top: 24px;
      }

      .approve-btn {
        line-height: 80px;

        .pass-btn {
          margin: 0 10px;
        }

        .reject-btn {
          color: #fff;
          background: #f04134;
          border-color: #f04134;
        }
      }
    }

    .back-btn {
      margin-left: 10px;
    }
    .button-left-all{
      margin-left: 40px;
    }

    .button-left-half{
      margin-left: 20px;
    }
  }

  .margin-20-0 {
    margin: 20px 0;
  }

  .fast-reply {
    max-height: 87px;
    overflow: auto;

    .add-new-btn, .fast-reply-tag {
      margin-bottom: 8px;
      background: none;
      border-radius: 15px;
      padding: 3px 10px;
      height: auto;
    }

    .add-new-btn {
      height: 28px;
    }

    .fast-reply-tag {
      border: 1px solid #e9e9e9;

      &.ant-tag-checkable-checked {
        border-color: $default-color;
        color: $default-color;
      }

      .delete-tag {
        display: inline-block;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 20px;
        font-size: 16px;

        &:hover {
          color: $default-color;
        }
      }
    }

    .fast-reply-input {
      width: 106px;
      height: 28px;
      margin-bottom: 8px;
    }
  }

  .fast-reply-title {
    .edit {
      float: right;
    }
  }

  .ant-tabs-bar {
    background: white;
    padding: 0 0 20px 12px;
  }
  .bottom-bar {
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    z-index: 5;
    margin-left: -35px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.067);
    box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.067);
    padding-left: 20px;
    .back-btn{
      margin-left: 10px;
    }
    .delete-btn {
      color: #fff;
      background-color: #ff4d4f;
      border-color: #ff4d4f;
    }
    &.bottom-bar-approve {
      height: auto;
      line-height: 80px;
    }
  }
  .history{
    margin: 10px -20px 0px -20px;
    background: #ffffff;
  }
  .history-body{
    padding: 20px;
  }
}
